import Vue from 'vue'
import App from './Admin.vue'
import store from './store';
import router from './router/adminrouter';
import Antd from 'ant-design-vue';
import axios from 'axios';
import Http from './until/http';
import VueQr from 'vue-qr'
import 'ant-design-vue/dist/antd.css';
import './scss/base.scss';
import vuescroll from "vuescroll";//引入vuescroll
import "vuescroll/dist/vuescroll.css";//引入vuescroll样式

Vue.use(vuescroll);//使用
Vue.config.productionTip = false
Vue.prototype.$http=Http;
Vue.prototype.$axios = axios;
Vue.use(Antd);
Vue.use(VueQr);
router.afterEach(() => {
	window.scrollTo(0,0);
});
new Vue({
	router,
	store,
	render: h => h(App),
}).$mount('#app')
